/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

/**
 * @Title: Brand.java
 * @Package phoenics.apeak.simple.entity
 * @Description
 * @author phoenics@126com
 * @date 2016-1-30 16:01:32
 * @version V1.0
 */
package phoenics.apeak.simple.entity;


import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;
// TODO: Auto-generated Javadoc

/**
 * The Class Brand.
 *
 * @Description The Class Brand.
 */
@Document(collection="brand")
public class Brand {
	
	/**
 * Gets the name.
 *
 * @return the name
 */
	public String getName() {
		return name;
	}
	
	/**
 * Sets the name.
 *
 * @param name
 *            the new name
 */
	public void setName(String name) {
		this.name = name;
	}
	
	/**
 * Gets the hand.
 *
 * @return the hand
 */
	public String getHand() {
		return hand;
	}
	
	/**
 * Sets the hand.
 *
 * @param hand
 *            the new hand
 */
	public void setHand(String hand) {
		this.hand = hand;
	}
	
	/**
 * Gets the logo url.
 *
 * @return the logo url
 */
	public String getLogoUrl() {
		return logoUrl;
	}
	
	/**
 * Sets the logo url.
 *
 * @param logoUrl
 *            the new logo url
 */
	public void setLogoUrl(String logoUrl) {
		this.logoUrl = logoUrl;
	}
	
	/** The name. */
	private String name;

	/** The hand. */
	@Indexed(unique = true)
	private String hand;
	
	/** The logo url. */
	private String logoUrl;
}
